import API from "@/utils/request";

/**
 * 会员卡
 * @param {Object} data 参数
 */

export const VIPCARDLIST = data => {
  return API("sp/v1.Vipcard/vipCardList", data);
};
export const ISDEFAULT = data => {
  return API("sp/v1.Vipcard/isDefault", data);
};
export const GOODSLIST = data => {
  return API("sp/v1.Shop/goodslist", data);
};
export const CHOICEAUTHORITYLIST = data => {
  return API("sp/v1.Vipcard/choiceAuthorityList", data);
};
export const GETLIST = data => {
  return API("sp/v1.Shop/getlist", data);
};
export const SETVIPCARD = data => {
  return API("sp/v1.Vipcard/setVipCard", data);
};
export const SETGROW = data => {
  return API("sp/v1.Vipcard/setGrow", data);
};
export const SETVIPCARDEXCLUSIVESHOP = data => {
  return API("sp/v1.Vipcard/setVipCardExclusiveShop", data);
};
export const VIPCARDAUTHORITYDETAILS = data => {
  return API("sp/v1.Vipcard/vipCardAuthorityDetails", data);
};
export const SETSHARE = data => {
  return API("sp/v1.Vipcard/setShare", data);
};
export const VIPCARDSTATUS = data => {
  return API("sp/v1.Vipcard/vipCardStatus", data);
};
export const AUTHORITYLIST = data => {
  return API("sp/v1.Vipcard/authorityList", data);
};
export const SOFT = data => {
  return API("sp/v1.Vipcard/soft", data);
};
export const DELAUTHORITY = data => {
  return API("sp/v1.Vipcard/delAuthority", data);
};
export const SETAUTHORITY = data => {
  return API("sp/v1.Vipcard/setAuthority", data);
};
export const AUTHORITYRULELIST = data => {
  return API("sp/v1.Vipcard/authorityRuleList", data);
};
export const SETAUTHORITYRULE = data => {
  return API("sp/v1.Vipcard/setAuthorityRule", data);
};
export const DELAUTHORITYRULE = data => {
  return API("sp/v1.Vipcard/delAuthorityRule", data);
};
export const SETAUTHORITYRULEGOODS = data => {
  return API("sp/v1.Vipcard/setAuthorityRuleGoods", data);
};
export const SETAUTHORITYRULEGOODSDISCOUNT = data => {
  return API("sp/v1.Vipcard/setAuthorityRuleGoodsDiscount", data);
};
export const AUTHORITYRULEGOODSLIST = data => {
  return API("sp/v1.Vipcard/authorityRuleGoodsList", data);
};
export const GETAUTHORITYICON = data => {
  return API("wechat/authorize/getAuthorityIcon", data);
};
